export interface TableRes {
  records: Record[];
  total: number;
  size: number;
  current: number;
  orders: any[];
  optimizeCountSql: boolean;
  searchCount: boolean;
  countId: string;
  maxLimit: string;
  pages: number;
}

export interface Record {
  operationId: string;
  operationName: string;
  operationTime: string;
  roleTypeCn: string;
  description: string;
  name: string;
  roleCode: string;
  roleType: string;
  roleId: string;
  script: string;
  status: string;
}

export interface TableParams {
  nameCode: string;
  status: string;
  cmpId: string;
  pageNo: string;
  pageSize: string;
}

export interface Info {
  roleTypeCn: string;
  description: string;
  name: string;
  roleCode: string;
  roleType: string;
  roleId: string;
  script: string;
  status: string;
}

export interface MenuItem {
  id: string;
  name: string;
}

export interface ResourceItem {
  apiType: string;
  aplId: string;
  aplName: string;
  remark: string;
  businessType: string;
  busniessTypeCn: string;
  funcName: string;
  id: string;
  name: string;
  aplType: string;
}

export interface UserItem {
  account: string;
  id: string;
  fullName: string;
  userId: string;
  orgId: string;
  createtime: string;
  shortName: string;
  orgName: string;
}

export interface UserGroupItem {
  id: string;
  orgName: string;
  jobCode: string;
  jobId: string;
  jobName: string;
}
